QT       += core gui widgets network sql

TARGET = MedicalClient
TEMPLATE = app

CONFIG += c++11

DEFINES += QT_DEPRECATED_WARNINGS

# Common 库路径
INCLUDEPATH += ../Common
LIBS += -L../lib -lCommon

SOURCES += \
    main.cpp \
    logindialog.cpp \
    registerdialog.cpp \
    mainwindow.cpp \
    networkclient.cpp \
    doctorwidget.cpp \
    patientwidget.cpp \
    doctorprofilewidget.cpp \
    patientprofilewidget.cpp \
    appointmentwidget.cpp \
    attendancewidget.cpp \
    medicalrecordwidget.cpp \
    prescriptionwidget.cpp \
    examrequestwidget.cpp \
    patient_appointmentwidget.cpp \
    medicalrecordviewwidget.cpp \
    prescriptionviewwidget.cpp \
    paymentwidget.cpp \
    medicinesearchwidget.cpp \
    patientdetailwidget.cpp \
    medicalrecorddetailwidget.cpp \
    prescriptiondetailwidget.cpp \
    doctordetailwidget.cpp \
    chatwindow.cpp \
    patient_chatlistwidget.cpp \
    doctor_chatlistwidget.cpp

HEADERS += \
    logindialog.h \
    registerdialog.h \
    mainwindow.h \
    networkclient.h \
    doctorwidget.h \
    patientwidget.h \
    doctorprofilewidget.h \
    patientprofilewidget.h \
    appointmentwidget.h \
    attendancewidget.h \
    medicalrecordwidget.h \
    prescriptionwidget.h \
    examrequestwidget.h \
    patient_appointmentwidget.h \
    medicalrecordviewwidget.h \
    prescriptionviewwidget.h \
    paymentwidget.h \
    medicinesearchwidget.h \
    patientdetailwidget.h \
    medicalrecorddetailwidget.h \
    prescriptiondetailwidget.h \
    doctordetailwidget.h \
    chatwindow.h \
    patient_chatlistwidget.h \
    doctor_chatlistwidget.h

FORMS += \
    logindialog.ui \
    registerdialog.ui \
    mainwindow.ui \
    doctorwidget.ui \
    patientwidget.ui \
    doctorprofilewidget.ui \
    patientprofilewidget.ui \
    appointmentwidget.ui \
    medicalrecordwidget.ui \
    prescriptionwidget.ui \
    examrequestwidget.ui \
    patient_appointmentwidget.ui \
    medicalrecordviewwidget.ui \
    prescriptionviewwidget.ui \
    paymentwidget.ui

# 默认编译规则
unix {
    target.path = ../bin
    INSTALLS += target
}
